package com.ruoyi.resource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 图集列表对象 sys_business_resource_image_type
 *
 * @author ruoyi
 * @date 2023-12-22
 */
public class SysBusinessResourceImageType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图集ID */
    private Long imageTypeId;

    /** 图集名称 */
    @Excel(name = "图集名称")
    private String imageTypeName;

    @Excel(name = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 图集封面 */
//    @Excel(name = "图集封面")
    private String imageTypeCover;

    /** 状态（0草稿 1已发 2已撤） */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=已发,2=已撤")
    private String status;

    /** 是否置顶（0否 1是） */
    private String isTop;

    /** 是否置底（0否 1是） */
    private String isBottom;

    /** 显示顺序 */
    private Integer orderNum;

    public void setImageTypeId(Long imageTypeId)
    {
        this.imageTypeId = imageTypeId;
    }

    public Long getImageTypeId()
    {
        return imageTypeId;
    }
    public void setImageTypeName(String imageTypeName)
    {
        this.imageTypeName = imageTypeName;
    }

    public String getImageTypeName()
    {
        return imageTypeName;
    }
    public void setImageTypeCover(String imageTypeCover)
    {
        this.imageTypeCover = imageTypeCover;
    }

    public String getImageTypeCover()
    {
        return imageTypeCover;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setIsTop(String isTop)
    {
        this.isTop = isTop;
    }

    public String getIsTop()
    {
        return isTop;
    }
    public void setIsBottom(String isBottom)
    {
        this.isBottom = isBottom;
    }

    public String getIsBottom()
    {
        return isBottom;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageTypeId", getImageTypeId())
            .append("imageTypeName", getImageTypeName())
            .append("imageTypeCover", getImageTypeCover())
            .append("status", getStatus())
            .append("isTop", getIsTop())
            .append("isBottom", getIsBottom())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
